﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace Harkon.AppServer.cOne.Service
{

    public enum ServiceState
    {
        None,
        Initialized,
        Started,
        Stopped
    }

    public interface ILifecycleAware
    {
        ServiceState CurrentServiceState { get; }

        bool Init();

        bool Start();

        bool Stop();
    }
}
